package com.work.entity.main;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 理货机械
 *
 * @author ：dujianyu
 * @since ：Created in 2024/5/21 14:09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("tally_machine")
@ApiModel(value = "TallyMachine对象", description = "理货机械")
public class TallyMachine extends TenantEntity {

    /** 理货工班ID */
    @ApiModelProperty(name = "理货工班ID",notes = "")
    private Long tallyId ;

    /** 理货类型 */
    @ApiModelProperty(name = "理货类型",notes = "")
    private String tallyType ;

    /** 配工ID */
    @ApiModelProperty(name = "配工ID",notes = "")
    private Long arrangeId ;

    /** 航陆运 */
    @ApiModelProperty(name = "航陆运",notes = "")
    private String shipLand ;

    /** 机械ID */
    @ApiModelProperty(name = "机械ID",notes = "")
    private Long machineId ;

    /** 机械名称 */
    @ApiModelProperty(name = "机械名称",notes = "")
    private String machineName ;

    /** 机械全称 */
    @ApiModelProperty(name = "机械全称",notes = "")
    private String fullMachineName ;

    /** 机械种类 */
    @ApiModelProperty(name = "机械种类",notes = "")
    private String machineKind ;

    /** 机械种类名称 */
    @ApiModelProperty(name = "机械种类名称",notes = "")
    private String machineKindName ;

    /** 是否选择 */
    @ApiModelProperty(name = "是否选择",notes = "")
    private String isSelected ;

    /** 是否散货外捣 */
    @ApiModelProperty(name = "是否散货外捣",notes = "")
    private String isBulk ;


    /** teamId */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(name = "teamId",notes = "")
    private Long teamId ;

    @ApiModelProperty(value = "作业队名称")
    private String teamName;
}
